package com.example.yimai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.util.Date;

@Data
@TableName("easybuy_user_address")
public class Address {
    @TableId(type = IdType.AUTO)
    private String id;

    private int userId;

    private String address;

    private Date createTime;

    private int isDefault;

    private String remark;

    private String receiveName;

    private String mobile;

    @TableLogic(value = "0", delval = "1")
    private int deleted;
}
